package com.baizhi.dao;

import com.baizhi.entity.City;
import com.baizhi.entity.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CityDAO {

    //查询寻所有
    public List<City> selectAll();

    //删除一条数据
    public void deleteById(int id);

    //插入一条数据
    public void insertCity(City city);

    //分页查询
    public List<City> selectByPage(@Param("beginCount") int beginCount, @Param("pageSize") int pageSize);

    //查询总条数
    public int selectTotalCount();


}
